package com.ruoyi.charge.mapper;

import com.ruoyi.charge.domain.ChargeOrder;

import java.util.List;

public interface SelectMapper {
    //    根据挂号单号查询患者id
    Long getIdByRegisterNumber(String registerNumber);

    //    根据患者名称查询患者id
    Long getIdByPatientName(String patientName);

    String getRegisterNumberByPatientId(Long patientId);

    //    患者id查询订单
    List<ChargeOrder> getChargeOrderList(Long patientId);

    int updateOrder(String orderNumber);
}
